﻿using Microsoft.EntityFrameworkCore.Migrations;

namespace QualitySupervision.Migrations
{
    public partial class _7 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "CumulativeAllocationTime",
                table: "MobileAccruals");

            migrationBuilder.DropColumn(
                name: "MonthAllocationTime",
                table: "MobileAccruals");

            migrationBuilder.DropColumn(
                name: "NotMonthAllocationTime",
                table: "MobileAccruals");

            migrationBuilder.AddColumn<string>(
                name: "CumulativeAllocationIncome",
                table: "MobileAccruals",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "MonthAllocationIncome",
                table: "MobileAccruals",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "NotMonthAllocationIncome",
                table: "MobileAccruals",
                nullable: true);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "CumulativeAllocationIncome",
                table: "MobileAccruals");

            migrationBuilder.DropColumn(
                name: "MonthAllocationIncome",
                table: "MobileAccruals");

            migrationBuilder.DropColumn(
                name: "NotMonthAllocationIncome",
                table: "MobileAccruals");

            migrationBuilder.AddColumn<string>(
                name: "CumulativeAllocationTime",
                table: "MobileAccruals",
                type: "nvarchar(max)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "MonthAllocationTime",
                table: "MobileAccruals",
                type: "nvarchar(max)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "NotMonthAllocationTime",
                table: "MobileAccruals",
                type: "nvarchar(max)",
                nullable: true);
        }
    }
}
